/*
 * @LastEditors: 杜康
 * @LastEditTime: 2021-10-30 14:36:45
 */
export default {
  state: () => ({
    name: 'Buster'
  }),
  getters: {},
  mutations: {
    SET_NAME(state, payload) {
      state.name = payload
    }
  },
  actions: {
    saveName({ commit }, data) {
      commit('SET_NAME', data)
    }
  }
}